<div class="layui-form" lay-filter="layuiadmin-app-form-list" id="layuiadmin-app-form-list"style="padding: 20px 30px 0 0;">
  <div class="layui-form-item">
    <label class="layui-form-label">商品名称</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="text" name="goods_name" value="{{ d.params.title || '' }}" lay-verify="required" placeholder="请输入商品名称" autocomplete="off" class="layui-input">
      </script>
    </div>
  </div>
 <div class="layui-form-item">
    <label class="layui-form-label">分类</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <select id="category2" name="category_id" >
          <option value="">请选择分类</option>
        </select>
      </script>
    </div>
  </div>     
  <div class="layui-form-item">
    <label class="layui-form-label">售价</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="text" name="price" value="{{ d.params.author || '' }}" lay-verify="required" placeholder="请输入售价" autocomplete="off" class="layui-input">
      </script>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">商品详情</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <textarea name="description" lay-verify="required" style="width: 400px; height: 150px;" autocomplete="off" class="layui-textarea">
          {{ d.params.content || '' }}
        </textarea>
      </script>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">库存</label>
    <div class="layui-input-inline">
      <script type="text/html" template>
        <input type="text" name="stock" value="{{ d.params.author || '' }}" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
      </script>
    </div>
  </div>
  <script type="text/html" template>
    <input type="hidden" name="goods_id">
  </script>
  <div class="layui-form-item">
    <label class="layui-form-label"></label>
    <div class="layui-input-inline">
      <input type="button" lay-submit lay-filter="layuiadmin-app-form-submit" value="确认" class="layui-btn">
    </div>
  </div>
</div>